Give\Donations\Repositories\DonationRepository A

Total Complexity 59
Dependencies 17
Dependents 3
Total lines 593
Lines of code 321
Logical lines of code 132
Comment lines 151
Methods 27
Properties 2

Methods 27

Method Rating Maintainability Complexity Lines of code
getCoreDonationMetaForDatabase()
A
39 11 61
validateDonation()
A
57 9 16
insert()
S
45 6 41
update()
S
50 3 28
delete()
S
56 2 19
getPersistedDonationStatus()
S
71 3 6
prepareQuery()
S
58 1 17
getFormTitle()
S
66 2 9
deriveLegacyDonationParentId()
S
78 2 3
getSequentialId()
S
68 2 7
getDefaultDonationMode()
S
75 2 4
queryBySubscriptionId()
S
60 1 14
queryByDonorId()
S
62 1 12
getTotalDonationCountByDonorId()
S
63 1 12
queryByReceiptId()
S
64 1 11
queryByGatewayTransactionId()
S
64 1 11
getAllDonationIdsByDonorId()
S
65 1 10
getFirstDonation()
S
72 1 6
getLatestDonation()
S
72 1 6
__construct()
S
80 1 3
getById()
S
74 1 5
getByReceiptId()
S
80 1 3
getBySubscriptionId()
S
80 1 3
queryById()
S
76 1 4
getTotalDonationCountByGatewayTransactionId()
S
80 1 3
getByGatewayTransactionId()
S
80 1 3
getConfirmationPageReceipt()
S
75 1 4